package com.woniu.humanresource.service;


import com.woniu.humanresource.entity.JobCategory;
import com.woniu.humanresource.entity.JobRelation;
import com.woniu.humanresource.entity.PageBean;

import java.util.List;

public interface JobRelationService {
    //添加职位关系
    void insertJobRelation(JobRelation jobRelation);
    // 查询所有职位关系
    PageBean<JobRelation> getAllJobRelation(int pageIndex,int pageSize);
    // 修改职位关系
    void updateJobRelation(JobRelation jobRelation,String position);
    // 删除职位关系
    void deleteJobRelationByPosition(String position);
    //查询职位关系具体信息
   List<JobRelation> selectJobRelatinoByPosition(String position);
    //提交删除申请
    void deleteApplyByPosition(String position);
    //条件查询
    PageBean<JobRelation> getJobRelation(JobRelation jobRelation,int pageIndex,int pageSize);
}
